home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18554 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  826 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: Re: Young programmers read me.
  5. Followup-To: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  6. Date: 22 Apr 1996 00:59:28 +1200
  7. Organization: My game company
  8. Message-ID: <4ldbfg$ev9@airdmhor.gen.nz>
  9. References: <4l1dn6$j3@belle.bork.com> <Dq0wJ4.8oA@empros.com>
  10. NNTP-Posting-Host: airdmhor.gen.nz
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Lars Michael:
  14. > Hmm,  I recommend exactly the opposite:
  15. >     _Always_ use braces.
  16.  
  17. > Reasons?
  18. > 1)  No bad surprises when using Macros.
  19.  
  20.   Define your macros properly.
  21.  
  22.  
  23. > 2)  No confusion about which if an else belongs to.
  24. > 3)  Indentation is more regular.
  25.  
  26.   How is indentation _more_ regular?  
  27.